package ModelLayer;

public class Location {
	private int id;
	private String cityZip;
	private String countryZip;
	private String city;
	private String country;


	public Location (int id, String cityZip,String city,String countryZip, String country) {
		this.id=id;
		this.cityZip = cityZip;
		this.city = city;
		this.countryZip = countryZip;
		this.country = country;
	}
	
	public Location (){
		id = 0;
		cityZip = "";
		countryZip = "";
		country = "";
		city = "";
				
	}
	
	//get methods 
	
	public int getId()
	{
		return id;
	}
	
	public String getCityZip(){
		return cityZip;
	}
	
	public String getCountryZip(){
		return countryZip;
				
	}
	
	public String getCity(){
		return city;
	}
	
	public String getCountry(){
		return country;
		
	}
	
	//set methods
	
	public void setId(int id)
	{
		this.id=id;
	}
	
	public void setCityZip(String cityZip){
		this.cityZip= cityZip;
	}
	
	public void setCountryZip(String countryZip){
		this.countryZip = countryZip;
		
	}
	
	public void setCountry(String country){
		this.country = country;
		
	}
	
	public void setCity (String city){
		this.city = city;
	}
}
